package edu.wan.serviceImpl;

import edu.wan.mapper.UserMapper;
import edu.wan.po.User;
import edu.wan.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class UserServiceImpl implements UserService {

    @Autowired
    private UserMapper userMapper;

    @Override
    public User findById(int id) {
        User user = userMapper.findById(id);
        return user;
    }
}
